---@class ReportSaveTypeEnum
ReportSaveTypeEnum = ClientFight.CreateClass("ReportSaveTypeEnum")
function ReportSaveTypeEnum:ctor(id, path)
    if (path ~= nil) then
        --path = path.trim();
    end
    self.id = id;
    self.path = path;
end
ReportSaveTypeEnum.enum = {}
-- 默认 策略 */
ReportSaveTypeEnum.enum.TYPE_DEFAULT = ReportSaveTypeEnum.New(0, "defaultFights/")
-- 永久保存 */
ReportSaveTypeEnum.enum.TYPE_PERMANENT = ReportSaveTypeEnum.New(1, "permanentFights/")

function ReportSaveTypeEnum.getId()
    return self.id;
end
function ReportSaveTypeEnum.getReportPath()
    return self.path;
end
ReportSaveTypeEnum.map = {};

local map = {};
local function initMap()
    for i, value in pairs(ReportSaveTypeEnum.enum) do

        map[value.id] = value;
    end
end
initMap()
function ReportSaveTypeEnum.valueOf(id)
    return map[id];
end
